from django.contrib import admin
from .models import MyUser
from django.contrib.auth.models import User
# Register your models here.

class MyUserInline(admin.StackedInline):
	model = MyUser
	can_delete = False
	verbose_name_plural = 'myuser'

class UserAdmin(admin.ModelAdmin):
	inlines = (MyUserInline,)

admin.site.unregister(User)
admin.site.register(User, UserAdmin)